package com.hl.toolkit.server.tycoin.user.slaverepository;

import com.tycoin.common.repository.AbstractRepository;
import com.tycoin.user.slaveentity.TycoinAddress;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
@CacheConfig(cacheNames = "com.tycoin.user.slaverepository.TycoinAddressRepository")
public interface TycoinAddressRepository extends AbstractRepository<TycoinAddress, Long> {


	TycoinAddress findByid(Long id);
	List<TycoinAddress> findByUserid(Long userid);

}
